﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace YSL_Domain.Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("CODE_RULE")]
    public partial class CODE_RULE
    {
           public CODE_RULE(){


           }
           /// <summary>
           /// Desc:规则名
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string RULE_NAME {get;set;}

        /// <summary>
        /// Desc:前缀
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsNullable = true)]
        public string PREFIX {get;set;}

        /// <summary>
        /// Desc:分隔符
        /// Default:_
        /// Nullable:False
        /// </summary>    
        [SugarColumn(IsNullable = true)]
        public string CONNECTOR {get;set;}

        /// <summary>
        /// Desc:流水号长度
        /// Default:
        /// Nullable:False
        /// </summary>         
        [SugarColumn(IsNullable = true)]
        public decimal SERIAL_LENGTH {get;set;}

    }
}
